package clases

import excepciones._

trait Alquilable extends Cancha {
  
  def tuPrecio(reserva: Reserva): Double = 0
  
  abstract override def reservatePara(reser: Reserva) = {
    reser.checkearDinero(tuPrecio(reser))
    
    super.reservatePara(reser)
    reser.cobrar(tuPrecio(reser))
  }
}